package boot.dao;

import boot.domain.order.Order;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface OrderMapper {

    int insert(Order record);

    List<Order> getAllOrder(int userId);

}